package com.atguigu.eduservice.service;

import com.atguigu.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author zhaolie
 * @since 2020-12-08
 */
public interface EduVideoService extends IService<EduVideo> {

    /**
     * 增加小节
     * @param eduVideo
     */
    void addVideo(EduVideo eduVideo);

    /**
     * 删除小节
     * @param id
     */
    void deleteVideo(String id);

    /**
     * 查询小节
     * @param id
     * @return
     */
    EduVideo getVideo(String id);

    /**
     * 更新小节
     * @param eduVideo
     */
    void updateVideo(EduVideo eduVideo);
}
